<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
		<meta name="format-detection" content="telephone=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-touch-fullscreen" content="yes"> 
		<meta content="telephone=no,email=no" name="format-detection" />
        <meta name="flexible" content="initial-dpr=2,maximum-dpr=3" />
		
		<title id="title">每日优选</title>
		<link rel="stylesheet" href="css/mryx.css" />
		<link rel="stylesheet" href="css/style.css" />
		<script type="text/javascript" src="js/jquery.min.js" ></script>
		<script type="text/javascript" src="js/flexible.js" ></script>
		<script type="text/javascript" src="js/basePathUtil.js" ></script>		
		<script type="text/javascript" src="js/layer-mobile/layer.js" ></script>

		<script type="text/javascript" >
			var type=GetUrl("type");
			var access_token=GetUrl("access_token");
			if(type==1) {
				$("#title").html("富硒产品");
				$("#selfA").html('<img src="img/3.png"><p>每日优选</p>');
				
			}
			var basePath=basePath();

			$(document).ready(function(){
				// to首页
				$("#index").bind("click",function(){
					window.location.href= basePath+"v1/user/wx/login";
				});
				// to限时购
				$("#limit").bind("click",function(){
					window.location.href= basePath+"res/xsg.html?access_token="+access_token+"&type=3";
				});
				// to每日优礼
				$("#everyday").bind("click",function(){
					window.location.href= basePath+"res/mryx.html?access_token="+access_token+"&type=2";
				});
				// to购物车
				$("#shopping").bind("click",function(){
					window.location.href= basePath+"res/gwc.html?access_token="+access_token;
				});
				// to个人中心
				$("#my").bind("click",function(){
					window.location.href= basePath+"v1/user/wx/login"
				});
			});
		</script>
		<script type="text/javascript" src="js/mryx.js" ></script>


	</head>
	<body>
		<div class="warp">
			<!-- banner  -->
		<div class="swiper">
			<img src="img/01.png">
		</div>		    
		<!-- banner结束 -->
		<!--列表-->
			<div class="list">
				<ul class="ullist">
					<!--<li>-->
						<!--<div class="txt">-->
							<!--<div class="t-left">-->
								<!--<div class="cont-img ">-->
									<!--<a href="">-->
										<!--<img src="img/04.png" >-->
									<!--</a>-->
								<!--</div>-->
							<!--</div>-->
							<!--<div class="t-right">-->
								<!--<div class="cont-tit ">-->
									<!--<div class="h3">-->
										<!--<p>午茶夫人养甘菊香柚绿菜</p>-->
									<!--</div>-->
									<!--<div class="h4">-->
										<!--<p>源自台湾纯天然原装进口</p>-->
									<!--</div>-->
					<!---->
									<!--<p><span class="hour"><span class="Price">￥19:00</span></span></p>-->
									<!--<button class="btn">-->
										<!--<p>立即购买</p>-->
									<!--</button>-->
								<!--</div>-->
							<!--</div>-->
						<!--</div>-->
					<!--</li>-->
				</ul>
			</div>
		<!--列表-->
		
		<div class="backgroud"></div>
		<!--底导航开始-->
			<div id="nav">
				<ul class="nav-ul">				
					<li id="index"><img src="/yangcangclub/res/img/1.png"><p>首页</p></li>
					<!--<li id="limit"><img src="/yangcangclub/res/img/2.png"><p>限时购</p></li>-->
					<li id="everyday"><img src="/yangcangclub/res/img/03—.png"><p style="color:#007234">每日优选</p></li>
					<li id="shopping"><img src="/yangcangclub/res/img/4.png"><p>购物车</p></li>
					<li id="my"><img src="/yangcangclub/res/img/5.png"><p>我的</p></li>					
				</ul>
			</div>
		<!--底导航开始-->
		</div>
	</body>
	<script type="text/javascript" >
		if(type==1) {
			$("#selfA").html('<img src="img/3.png"><p>每日优选</p>');
		}
	</script>
</html>
